package com.issac.vhr.mapper;

import com.issac.vhr.entity.Mail_send_log;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface Mail_send_logMapper {
    int insert(Mail_send_log record);

    int insertSelective(Mail_send_log record);

    Integer updateMailSendLogStatus(@Param("msgId") String msgId, @Param("status") Integer status);

    List<Mail_send_log> getMailSendLogsByStatus();

    Integer updateMailSendLogCount(@Param("msgId") String msgId,@Param("date") Date date);
}